package com.ambow.Entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.*;

@Entity
@Table
public class Payment extends ID implements Serializable {
     private Date payDate;//支付日期
 	 private String status;//报销状态
    
	@ManyToOne(targetEntity=Operator.class)
     @JoinColumn(name="operator_id",referencedColumnName="id")
     private Operator operator;
     @ManyToOne(targetEntity=StockReceive.class)
     @JoinColumn(name="stockReceive_id",referencedColumnName="id")
     private StockReceive stockReceive;
	public Date getPayDate() {
		return payDate;
	}
	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}
	public Operator getOperator() {
		return operator;
	}
	public void setOperator(Operator operator) {
		this.operator = operator;
	}
	/**
	 * @return the stockReceive
	 */
	public StockReceive getStockReceive() {
		return stockReceive;
	}
	/**
	 * @param stockReceive the stockReceive to set
	 */
	public void setStockReceive(StockReceive stockReceive) {
		this.stockReceive = stockReceive;
	}
	 /**
		 * @return the status
		 */
		public String getStatus() {
			return status;
		}
		/**
		 * @param status the status to set
		 */
		public void setStatus(String status) {
			this.status = status;
		}
     
}
